Document Solutions for PDF
GrapeCity.Documents.DX.Windows Assembly / GrapeCity.Documents.DX Namespace / DataPointer Structure / ToArray Method / ToArray<T>() Method
Type of a buffer element

In This Topic
    ToArray<T>() Method
    In This Topic
    Converts this instance to a read only typed buffer.
    Syntax
    'Declaration
     
    Public Overloads Function ToArray(Of T As {New, Struct})() As T()
    public T[] ToArray<T>()
    where T: new(), struct

    Type Parameters

    T
    Type of a buffer element

    Return Value

    A readonly typed buffer.
    Exceptions
    ExceptionDescription
    DataPointer is Zero
    See Also